package com.hjc.springbootmovies.service.Impl;

import com.hjc.springbootmovies.entity.ModelUsers;
import com.hjc.springbootmovies.mapper.MappingUsers;
import com.hjc.springbootmovies.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2019/12/4
 * Time: 14:55
 * To change this template use File | Settings | File Templates.
 */
@Service
public class UserServiceImpl implements UsersService {
    @Autowired
    private MappingUsers mappingUsers;
    @Override
    public ModelUsers queryById(String uid, String psw) {
        return mappingUsers.queryById(uid,psw);
    }
}
